<html>
<head>
<script>

	chrome.extension.onRequest.addListener(
			function(request, sender, sendResponse) {
				if(request.doaction == "showIcon"){
					chrome.pageAction.onClicked.addListener(function(tab) {
						chrome.tabs.sendRequest(tab.id, {doaction: "showOptions"}, function(response) {});
					});				
					chrome.pageAction.show(sender.tab.id);
					sendResponse({}); // snub them.	
				}
			}
	);
	
	
</script>
</head>
<body>
</body>
</html>



